package edu.hunau.biz.impl;

import edu.hunau.annotation.MyAutoWired;
import edu.hunau.biz.UserService;
import edu.hunau.dao.UserDao;

/**
 * @author hb
 * @date 2022-11-22 11:42:50
 */
public class UserServiceImpl implements UserService {
    @MyAutoWired
    private UserDao userDao; //UserDao userDao=new UserDaoImpl();
    @Override
    public void regist() {
        userDao.insertUser();
        System.out.println("UserService regist");
    }
}
